package com.mrd.gtimp.base.repository;

/**
 * <p>
 * application name: gtimp
 * <p>
 * copyright: Copyright@2012 明睿达科技有限公司
 */

import com.mrd.gtimp.base.entity.User;
import com.mrd.spring.repository.BaseRepository;

/**
 * @author qiul
 */
public interface UserDao extends BaseRepository<User, String> {

	User findByAccountAndIsabledAndState(String account,String isAble,String state);

	/**
	 * 用于测试
	 * @param account
	 * @return
	 */
	User findByAccount(String account);
}
